package com.hongye.house.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongye.common.core.annotation.Excel;
import com.hongye.common.core.web.domain.BaseEntity;

/**
 * 小区管理对象 community
 * 
 * @author fafa
 * @date 2025-02-14
 */
public class Community extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 小区ID */
    private String plotId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String plotName;

    /** 省级/市级/区县编号 */
    @Excel(name = "省级/市级/区县编号")
    private String areasCode;

    /** 所在区域 */
    @Excel(name = "所在区域")
    private Long district;

    /** 小区状态 */
    @Excel(name = "小区状态")
    private Long plotStatus;

    /** 小区介绍 */
    @Excel(name = "小区介绍")
    private String pintroduce;

    /** 小区图片 */
    @Excel(name = "小区图片")
    private String plotImages;

    /** 排序字段 */
    private String sort;

    /** 逻辑删除标志（0：未删除，1：已删除） */
    private Long plotDelete;

    /** 乐观锁版本号 */
    private Long revision;

    /** 创建人 */
    private String createdBy;

    /** 创建时间 */
    private Date createdTime;

    /** 更新人 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedTime;

    public void setPlotId(String plotId) 
    {
        this.plotId = plotId;
    }

    public String getPlotId() 
    {
        return plotId;
    }
    public void setPlotName(String plotName) 
    {
        this.plotName = plotName;
    }

    public String getPlotName() 
    {
        return plotName;
    }
    public void setAreasCode(String areasCode) 
    {
        this.areasCode = areasCode;
    }

    public String getAreasCode() 
    {
        return areasCode;
    }
    public void setDistrict(Long district) 
    {
        this.district = district;
    }

    public Long getDistrict() 
    {
        return district;
    }
    public void setPlotStatus(Long plotStatus) 
    {
        this.plotStatus = plotStatus;
    }

    public Long getPlotStatus() 
    {
        return plotStatus;
    }
    public void setPintroduce(String pintroduce) 
    {
        this.pintroduce = pintroduce;
    }

    public String getPintroduce() 
    {
        return pintroduce;
    }
    public void setPlotImages(String plotImages) 
    {
        this.plotImages = plotImages;
    }

    public String getPlotImages() 
    {
        return plotImages;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }
    public void setPlotDelete(Long plotDelete) 
    {
        this.plotDelete = plotDelete;
    }

    public Long getPlotDelete() 
    {
        return plotDelete;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("plotId", getPlotId())
            .append("plotName", getPlotName())
            .append("areasCode", getAreasCode())
            .append("district", getDistrict())
            .append("plotStatus", getPlotStatus())
            .append("pintroduce", getPintroduce())
            .append("plotImages", getPlotImages())
            .append("sort", getSort())
            .append("plotDelete", getPlotDelete())
            .append("revision", getRevision())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
